package com.zenith.api.po.vo.article;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@Schema(name = "文章评论VO", description = "文章评论VO")
public class ArtCommentVO {
    
    @Schema(description = "主键ID")
    private Long id;
    
    @Schema(description = "文章ID")
    private Long articleId;
    
    @Schema(description = "父评论ID，顶级为0")
    private Long parentId;
    
    @Schema(description = "回复评论ID")
    private Long replyTo;
    
    @Schema(description = "评论人ID")
    private Long userId;
    
    @Schema(description = "评论内容")
    private String content;
    
    @Schema(description = "点赞数")
    private Integer likeCount;
    
    @Schema(description = "是否置顶：1-是 0-否")
    private Integer isTop;
    
    @Schema(description = "状态：0-待审 1-正常 2-隐藏")
    private Integer status;
    
    @Schema(description = "评论者IP")
    private String ip;
    
    @Schema(description = "评论者UA")
    private String userAgent;
    
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
    
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
    
    @Schema(description = "创建人ID")
    private Long createBy;
    
    @Schema(description = "更新人ID")
    private Long updateBy;
}